//
//  TopicDetailTableViewCell.h
//  yilutongxing
//
//  Created by ios-21 on 17/4/13.
//  Copyright © 2017年 YZE. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YYText.h"
#import "RPUserInfoBean.h"

@class TopicDetailTableViewCell;
@protocol TopicDetailTableViewCellDelegate <NSObject>

-(void)commentWithButtonTag:(NSInteger)tag;

-(void)jumpToUserInformaintionWithButtonTag:(NSInteger)tag;
-(void)deleteWithButtonTag:(NSInteger)tag;
@end

@interface TopicDetailTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIButton *headImgBtn;
@property (weak, nonatomic) IBOutlet UILabel *userNameLable;
@property (weak, nonatomic) IBOutlet UIButton *userNameBtn;
@property (weak, nonatomic) IBOutlet UILabel *creadDateLable;
@property (weak, nonatomic) IBOutlet UIButton *commentBtn;
@property (strong, nonatomic) IBOutlet UIButton *deletTopicBtn;

@property (nonatomic,strong) YYTextView *myTextV;
@property (nonatomic,strong) UIImageView *imgView;
@property (nonatomic,assign) CGFloat height;
@property (nonatomic,copy) NSString *commentID;
-(void)showDataWithUser:(RPUserInfoBean*)data AndReply:(RPUserIdInfoBean*)replyData isMine:(BOOL)ismine;

@property (nonatomic,weak) id<TopicDetailTableViewCellDelegate> delegate;
@end
